package com.hp.team.bookstore.service.order.common;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "order")
@XmlAccessorType(XmlAccessType.FIELD)
public class OrderListOperations {

	@XmlAttribute(required = true)
	private String type;

	@XmlElement(name = "operation")
	private List<Operation> operations;

	public void setType(String type) {
		this.type = type;
	}

	public void setOperations(List<Operation> operations) {
		this.operations = operations;
	}

	public String getType() {
		return type;
	}

	public List<Operation> getOperations() {
		return operations;
	}

}
